package com.yyq.eduorder.Client;

import com.yyq.result.vo.courseInfoVoOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author yyq
 * @create 2021-05-06 15:07
 */
@Component
@FeignClient("service-edu")
public interface EduClinet {
    @GetMapping("/eduservice/front/getOrder/{courseId}")
    public courseInfoVoOrder getCourseInfoOrder(@PathVariable("courseId") String courseId);
}
